<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!--0:引入 vue.js-->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <style>
      ul {
        list-style: none;
      }

      ul > li {
        float: left;
        border: 1px solid cornflowerblue;
        width: 36px;
        height: 36px;
        line-height: 36px;
        text-align: center;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <ul>
        <li v-for="i of pageCount" :key="i">{{i}}</li>
      </ul>
    </div>

    <script>
      let vm = new Vue({
        el: "#app",
        data: {
          pageCount: 17,
        },
      });
    </script>
  </body>
</html>
